All Questions
2 questions
-2votes
2answers
182views
What is the correct use of -> operator when working with pointers?
I'm pretty new with C so I have encountered many doubts with pointers. I've already search a lot about this but there are some things that still are not clear for me, and I also think this will help ...
2votes
2answers
5kviews
Struct "prototypes" in (plain)C?
As the title says, can it be done? struct Room{ char *type; //Lecture hall, laboratory, etc. char *name; int *capacity; //How may people it can hold struct Building *building; }; ...